<?php
session_start();
use evertcode\Util as Tools;
require_once '../lib/class.util.php';
$tools = new Tools();
if ($_SESSION['userAgent'] !== md5($_SERVER['HTTP_USER_AGENT']) && $_SESSION['IPaddress'] !== $tools->ExtractUserIpAddress()) {
    header("location: ../?AccessNotAuthorized=:(");
    exit();
}
?>
<!DOCTYPE html>
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6 lt8"> <![endif]-->
<!--[if IE 7 ]>    <html lang="en" class="no-js ie7 lt8"> <![endif]-->
<!--[if IE 8 ]>    <html lang="en" class="no-js ie8 lt8"> <![endif]-->
<!--[if IE 9 ]>    <html lang="en" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> 
<style>
#contenido
{
position:absolute;
top:80px;
}
</style>

<html class="no-js"> <!--<![endif]-->
    <head>
        <meta charset="UTF-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <title>Inicio</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0"> 
        <meta name="description" content="" />
        <meta name="keywords" content= "" />
        <meta name="author" content="Evert Code" />
 
		</head>

    <body>
	<?php include("menu.php"); ?>
		<div id="wrapper">          
			<div id="contenido">
				<?php include("pages.php"); ?>
				<br style="clear:both;" />
			</div>
		</div>
	</body>
	
</html>	
